package Zhang5;
import  java.util.List;
public class ListZhang5 {
    public static void main(String[] args) throws  Exception{
        List<String> all = List.of("www.yootk.com","edu.yootk.com","www.yootk.com");
        for (Object temp : all.toArray()){
            System.out.println("[集合数据]" + temp);
        }
    }
}
